package com.cleaningcloud.cld.domain;

import java.util.Date;

import com.cleaningcloud.common.core.web.domain.BaseEntity;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.cleaningcloud.common.core.annotation.Excel;

/**
 * 考核周期对象 cld_check_cycle
 *
 * @author cleaningcloud
 * @date 2024-10-12
 */
public class CldCheckCycle extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 考核周期ID */
    private Long cycleId;

    /** 考核年份 */
    @Excel(name = "考核年份")
    private Integer cycleYear;

    /** 考核周期标题 */
    @Excel(name = "考核周期标题")
    private String cycleTitle;

    /** 考核开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "考核开始时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date startTime;

    /** 考核结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "考核结束时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date endTime;

    /** 创建人ID */
    @Excel(name = "创建人ID")
    private Long createId;

    /** 创建人名称 */
    @Excel(name = "创建人名称")
    private String createName;

    /** 备注是否关闭 */
    @Excel(name = "备注是否关闭")
    private Long flag;

    public void setCycleId(Long cycleId)
    {
        this.cycleId = cycleId;
    }

    public Long getCycleId()
    {
        return cycleId;
    }

    public Integer getCycleYear() {
        return cycleYear;
    }

    public void setCycleYear(Integer cycleYear) {
        this.cycleYear = cycleYear;
    }

    public void setCycleTitle(String cycleTitle)
    {
        this.cycleTitle = cycleTitle;
    }

    public String getCycleTitle()
    {
        return cycleTitle;
    }
    public void setStartTime(Date startTime)
    {
        this.startTime = startTime;
    }

    public Date getStartTime()
    {
        return startTime;
    }
    public void setEndTime(Date endTime)
    {
        this.endTime = endTime;
    }

    public Date getEndTime()
    {
        return endTime;
    }
    public void setCreateId(Long createId)
    {
        this.createId = createId;
    }

    public Long getCreateId()
    {
        return createId;
    }
    public void setCreateName(String createName)
    {
        this.createName = createName;
    }

    public String getCreateName()
    {
        return createName;
    }
    public void setFlag(Long flag)
    {
        this.flag = flag;
    }

    public Long getFlag()
    {
        return flag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("cycleId", getCycleId())
                .append("cycleYear", getCycleYear())
                .append("cycleTitle", getCycleTitle())
                .append("startTime", getStartTime())
                .append("endTime", getEndTime())
                .append("remark", getRemark())
                .append("createId", getCreateId())
                .append("createName", getCreateName())
                .append("createTime", getCreateTime())
                .append("flag", getFlag())
                .toString();
    }
}
